package ar.com.ford.it.fullEconomics.interfaces.interfaz;

import java.util.Collection;
import ar.com.ford.it.fullEconomics.exception.FullEconomicsException;
import ar.com.ford.it.fullEconomics.persistence.dto.Teesx03Intflog;
import ar.com.ford.it.fullEconomics.struct.CounterStruct;

public interface InterfaceProccesFile {
	public boolean validateHeaderAndTrailer(Object line);
	public void processLine(Object aLine, String userId, Collection data) throws FullEconomicsException ;
	public String getHeaderDescription(Object line);
	public String getTrailerDescription(Object line);
    public CounterStruct insertData(Collection data, String userId, Teesx03Intflog logNumber) throws FullEconomicsException;
    public Integer getRecordCount(Object line);
    public boolean validateRecordCount(int trailerRecordCount, int lineCount, int dataSize);
}
